import axios from '@/api/axios.js'
// 搜索电影详情 
const getSearchmovie = (val) => {
    return axios.get(`search/movies?keyword=${val}&ci=1&offset=1`)
}

// 搜索影院详情 
const getSearchcinemas = (val) => {
    return axios.get(`search/cinemas?keyword=${val}&ci=1&offset=1`)
}
//小视频路由
const getShort = (num = 0) => {
    return axios.get(`video/short/${num}`)
    // return axios.get('http://localhost:5173/SmallVideo.json')
}

export { getSearchmovie, getSearchcinemas, getShort }